﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013B7 RID: 5047
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TextJoinBatchSaveCsReq : IMessage<TextJoinBatchSaveCsReq>, IMessage, IEquatable<TextJoinBatchSaveCsReq>, IDeepCloneable<TextJoinBatchSaveCsReq>, IBufferMessage
	{
		// Token: 0x17003FA2 RID: 16290
		// (get) Token: 0x0600E209 RID: 57865 RVA: 0x0025C349 File Offset: 0x0025A549
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TextJoinBatchSaveCsReq> Parser
		{
			get
			{
				return TextJoinBatchSaveCsReq._parser;
			}
		}

		// Token: 0x17003FA3 RID: 16291
		// (get) Token: 0x0600E20A RID: 57866 RVA: 0x0025C350 File Offset: 0x0025A550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TextJoinBatchSaveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FA4 RID: 16292
		// (get) Token: 0x0600E20B RID: 57867 RVA: 0x0025C362 File Offset: 0x0025A562
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TextJoinBatchSaveCsReq.Descriptor;
			}
		}

		// Token: 0x0600E20C RID: 57868 RVA: 0x0025C369 File Offset: 0x0025A569
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinBatchSaveCsReq()
		{
		}

		// Token: 0x0600E20D RID: 57869 RVA: 0x0025C37C File Offset: 0x0025A57C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinBatchSaveCsReq(TextJoinBatchSaveCsReq other) : this()
		{
			this.textJoinList_ = other.textJoinList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E20E RID: 57870 RVA: 0x0025C3A6 File Offset: 0x0025A5A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinBatchSaveCsReq Clone()
		{
			return new TextJoinBatchSaveCsReq(this);
		}

		// Token: 0x17003FA5 RID: 16293
		// (get) Token: 0x0600E20F RID: 57871 RVA: 0x0025C3AE File Offset: 0x0025A5AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TextJoinInfo> TextJoinList
		{
			get
			{
				return this.textJoinList_;
			}
		}

		// Token: 0x0600E210 RID: 57872 RVA: 0x0025C3B6 File Offset: 0x0025A5B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TextJoinBatchSaveCsReq);
		}

		// Token: 0x0600E211 RID: 57873 RVA: 0x0025C3C4 File Offset: 0x0025A5C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TextJoinBatchSaveCsReq other)
		{
			return other != null && (other == this || (this.textJoinList_.Equals(other.textJoinList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E212 RID: 57874 RVA: 0x0025C3F8 File Offset: 0x0025A5F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.textJoinList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E213 RID: 57875 RVA: 0x0025C42C File Offset: 0x0025A62C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E214 RID: 57876 RVA: 0x0025C434 File Offset: 0x0025A634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E215 RID: 57877 RVA: 0x0025C43D File Offset: 0x0025A63D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.textJoinList_.WriteTo(ref output, TextJoinBatchSaveCsReq._repeated_textJoinList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E216 RID: 57878 RVA: 0x0025C464 File Offset: 0x0025A664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.textJoinList_.CalculateSize(TextJoinBatchSaveCsReq._repeated_textJoinList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E217 RID: 57879 RVA: 0x0025C49D File Offset: 0x0025A69D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TextJoinBatchSaveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.textJoinList_.Add(other.textJoinList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E218 RID: 57880 RVA: 0x0025C4CB File Offset: 0x0025A6CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E219 RID: 57881 RVA: 0x0025C4D4 File Offset: 0x0025A6D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.textJoinList_.AddEntriesFrom(ref input, TextJoinBatchSaveCsReq._repeated_textJoinList_codec);
				}
			}
		}

		// Token: 0x0400596F RID: 22895
		private static readonly MessageParser<TextJoinBatchSaveCsReq> _parser = new MessageParser<TextJoinBatchSaveCsReq>(() => new TextJoinBatchSaveCsReq());

		// Token: 0x04005970 RID: 22896
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005971 RID: 22897
		public const int TextJoinListFieldNumber = 3;

		// Token: 0x04005972 RID: 22898
		private static readonly FieldCodec<TextJoinInfo> _repeated_textJoinList_codec = FieldCodec.ForMessage<TextJoinInfo>(26U, TextJoinInfo.Parser);

		// Token: 0x04005973 RID: 22899
		private readonly RepeatedField<TextJoinInfo> textJoinList_ = new RepeatedField<TextJoinInfo>();
	}
}
